#include<stdio.h>
int fun(char* a)
{
	int n=0,i=0;
	while(a[n]=='*')
	{
		n++;
	}
	int temp=n;
	while(a[n]!='\0')
	{
		a[i]=a[n];
		n++;i++;
	}
	for(int j=0;j<temp;j++)
	{
		a[i]='*';
		i++;
	}
	a[i]='\0';
}
int main()
{
	char s[81],*p;int n=0;
	printf("Enter a string:\n");gets(s);
	fun(s);
	printf("The string after moveing:\n");puts(s);
}
